/* 全局样式 */

/* 添加字体样式库 */
@font-face {
    font-family: 'YujiBoku-Regular';
    src: url('@/assets/font/YujiBoku-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}

/* 主题色号  #870C08  */
/* web - pc */
@media only screen and (min-width: 1025px) {

    /* 背景色 */
    html,
    body {
        margin: 0;
        padding: 0;
        background-color: #F5F5F7;
    }

    /* 页面版心 */
    .pageArea {
        width: 1600px;
        margin: auto;
    }

    /* 更多 */
    .more {
        font-weight: 500;
        font-size: 20px;
        color: #870C08;
        cursor: pointer;
    }

    /* 模块 */
    /* 每个模块使用section 当作class名 */
    .section {
        margin: 50px 0px 50px;
    }

    /* 模块标题 */
    .section_title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 50px;
    }

    /* 标题类标签 */
    .pageH1 {
        font-size: 40px;
        font-weight: bold;
        color: #202020;
    }

    .pageH2 {
        font-size: 30px;
        font-weight: bold;
        color: #202020;
    }

    .pageH3 {
        font-size: 20px;
        font-weight: medium;
        color: #202020;
    }

    .pageH4 {
        font-size: 16px;
        font-weight: medium;
        color: #555555;
    }

    .pageH5 {
        font-size: 14px;
        font-weight: medium;
        color: #98A6C9;
    }

    /* 弹窗标题和内容文本 */
    /* 弹窗大标题 */
    .PopupTitle {
        font-size: 50px;
        font-weight: bold;
        color: #202020;
    }

    /* 弹窗文本标题 */
    .PopupContentTitle {
        font-size: 40px;
        font-weight: bold;
        color: #202020;
    }

    /* 弹窗文本内容 */
    .PopupText {
        font-size: 26px;
        font-weight: bold;
        color: #555555;
    }

    /* 按钮 */
    /* 白底按钮 - 卡片内部 */
    .whiteButton {
        width: fit-content;
        height: 60px;
        background: #FFFFFF;
        border-radius: 500px;
        border: 2px solid #FFFFFF;
        font-weight: 500;
        font-size: 18px;
        color: #870C08;
        padding: 18px 60px;
        box-sizing: border-box;
        margin: auto;
        cursor: pointer;
    }

    /* 红底按钮 - 常用参与活动和提交 */
    .redButton {
        width: fit-content;
        height: 60px;
        background: #870C08;
        border-radius: 500px;
        border: 2px solid #870C08;
        font-weight: 500;
        font-size: 18px;
        color: #FFFFFF;
        padding: 17px 60px;
        box-sizing: border-box;
        margin: auto;
        cursor: pointer;
    }

    /* 卡片透明水平垂直居中标题 */
    .cardTitle {
        width: fit-content;
        height: 60px;
        background: rgba(255, 255, 255, 0.35);
        border-radius: 33px;
        font-weight: bold;
        font-size: 30px;
        color: #FFFFFF;
        padding: 9px 40px;
        box-sizing: border-box;

    }

    /* 轮播分页器 */
    .nextPrev {
        height: 60px;
        margin-top: 40px;
        width: 100%;
        position: relative;
        display: flex;
        justify-content: flex-end;

        .swiper-button-prev {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: url('../assets/images/global/leftArrow.jpg') no-repeat;
            right: 90px;
            left: auto;
        }


        .swiper-button-next {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: url('../assets/images/global/rightArrow.jpg') no-repeat;
        }
    }

    .go-top-button {
        width: 50px;
        height: 50px;
        z-index: 5;
        cursor: pointer;
        bottom: 75px;
        right: 40px;
        position: fixed;
        opacity: 0.5;
        font-size: 30px;
      }
}

/* iPad 尺寸的样式 -- 暂时用了web的尺寸，后期会改动 */
@media only screen and (min-width: 768px) and (max-width: 1024px) {

    /* 背景色 */
    html,
    body {
        margin: 0;
        padding: 0;
        background-color: #F5F5F7;
    }

    /* 页面版心 */
    .pageArea {
        width: 1600px;
        margin: auto;
        padding-bottom: 130px;
    }

    /* 标题类标签 */
    .pageH1 {
        font-size: 40px;
        font-weight: bold;
        color: #202020;
    }

    .pageH2 {
        font-size: 30px;
        font-weight: bold;
        color: #202020;
    }

    .pageH3 {
        font-size: 20px;
        font-weight: medium;
        color: #202020;
    }

    .pageH4 {
        font-size: 16px;
        font-weight: medium;
        color: #202020;
    }

    .pageH5 {
        font-size: 14px;
        font-weight: medium;
        color: #98A6C9;
    }

    /* 弹窗标题和内容文本 */
    /* 弹窗大标题 */
    .PopupTitle {
        font-size: 50px;
        font-weight: bold;
        color: #202020;
    }

    /* 弹窗文本标题 */
    .PopupContentTitle {
        font-size: 40px;
        font-weight: bold;
        color: #202020;
    }

    /* 弹窗文本内容 */
    .PopupText {
        font-size: 26px;
        font-weight: bold;
        color: #555555;
    }

    /* 按钮 */
    /* 白底按钮 - 卡片内部 */
    .whiteButton {
        width: 200px;
        height: 60px;
        background: #FFFFFF;
        border-radius: 500px;
        border: 2px solid #FFFFFF;
        font-weight: 500;
        font-size: 18px;
        color: #870C08;
        text-align: center;
        line-height: 60px;
    }

    /* 红底按钮 - 常用参与活动和提交 */
    .redButton {
        width: 200px;
        height: 60px;
        background: #870C08;
        border-radius: 500px;
        border: 2px solid #870C08;
        font-weight: 500;
        font-size: 18px;
        color: #FFFFFF;
        text-align: center;
        line-height: 60px;
    }

    /* 卡片透明水平垂直居中标题 */
    .cardTitle {
        width: 200px;
        height: 60px;
        background: rgba(255, 255, 255, 0.35);
        border-radius: 33px;
        font-weight: bold;
        font-size: 30px;
        color: #FFFFFF;
        text-align: center;
        line-height: 60px;
    }
}

/* 适用于移动设备的样式 */
@media only screen and (max-width: 767px) {

    /* 背景色 */
    html,
    body {
        margin: 0;
        padding: 0;
        background-color: #FFFFFF;
    }

    /* 版心 */
    .pageArea {
        margin: auto;
        padding: 16px 16px 30px;
    }

    /* 更多 */
    .more {
        font-weight: 500;
        font-size: 12px;
        color: #CCCCCC;
        cursor: pointer;
        text-align: center;
    }

    /* 内容模块 */
    /*  每个模块使用section 当作class名 */
    .section {
        margin: 20px 0px 20px;
    }

    /* 模块标题 */
    .section_title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
    }

    /* 标题类标签 */
    .pageH1 {
        font-size: 16px;
        font-weight: bold;
        color: #202020;
    }

    .pageH2 {
        font-size: 14px;
        font-weight: bold;
        color: #202020;
    }

    .pageH3 {
        font-size: 14px;
        font-weight: medium;
        color: #202020;
    }

    .pageH4 {
        font-size: 12px;
        font-weight: 500;
        color: #555555;
    }

    .pageH5 {
        font-size: 10px;
        font-weight: medium;
        color: #98A6C9;
    }

    /* 弹窗标题和内容文本 */
    /* 弹窗大标题 */
    .PopupTitle {
        font-size: 16px;
        font-weight: bold;
        color: #202020;
    }

    /* 弹窗文本标题 */
    .PopupContentTitle {
        font-size: 14px;
        font-weight: bold;
        color: #202020;
    }

    /* 弹窗文本内容 */
    .PopupText {
        font-size: 12px;
        font-weight: bold;
        color: #555555;
    }

    /* 按钮 */
    /* 白底按钮 - 卡片内部 */
    .whiteButton {
        width: fit-content;
        background: #FFFFFF;
        border-radius: 500px;
        border: 2px solid #FFFFFF;
        font-weight: 500;
        font-size: 14px;
        color: #870C08;
        text-align: center;
        box-sizing: border-box;
        padding: 3px 16px;
    }

    /* 红底按钮 - 常用参与活动和提交 */
    .redButton {
        width: fit-content;
        background: #870C08;
        border-radius: 500px;
        border: 2px solid #870C08;
        font-weight: 500;
        padding: 3px 16px;
        font-size: 14px;
        color: #FFFFFF;
        text-align: center;
        box-sizing: border-box;
    }

    /* 卡片透明水平垂直居中标题 */
    .cardTitle {
        width: 88px;
        height: 26px;
        background: rgba(255, 255, 255, 0.35);
        border-radius: 33px;
        padding: 3px 16px;
        font-weight: bold;
        font-size: 14px;
        color: #FFFFFF;
        text-align: center;
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .go-top-button {
        width: 40px;
        height: 40px;
        z-index: 5;
        cursor: pointer;
        bottom: 40px;
        right: 20px;
        position: fixed;
        font-size: 14px;
        opacity: 1;
        touch-action: manipulation;
        outline: none;
        -webkit-tap-highlight-color: transparent;
      }
}